﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XCommunity.Data
{
  [Serializable]
  public class DataNotFoundException : Exception
  {

    public DataNotFoundException( Type dataType, object index )
    {
      DataType = dataType;
      Index = index;
    }

    public Type DataType
    {
      get;
      private set;
    }

    public object Index
    {
      get;
      private set;
    }

  }
}
